package vn.edu.nuce.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="email")
public class Email {

	private String id;
	private String idLichDangKy;
	private String email;
	private boolean statusSend;
	@Id
	@Column(name="id")
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name="id_lich_dang_ky")
	public String getIdLichDangKy() {
		return idLichDangKy;
	}
	public void setIdLichDangKy(String idLichDangKy) {
		this.idLichDangKy = idLichDangKy;
	}
	@Column(name="email")
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	@Column(name="status")
	public boolean isStatusSend() {
		return statusSend;
	}
	public void setStatusSend(boolean statusSend) {
		this.statusSend = statusSend;
	}
	
}
